package com.shj.service;

import com.shj.entity.SysFamily;
import com.shj.entity.SysPerson;

import java.util.List;

public interface SysFamilyService {

    List<SysFamily> findAll();

    SysFamily findByFamilyCode(String code);

    void add(SysFamily sysFamily, SysPerson sysPerson);

    void edit(SysFamily sysFamily);

    void delete(String code);

    String creatFCode(String groupNo);

    void countNum(String familyNo, int agriNum);
}
